removeStylePack

open fun removeStylePack(@NonNull() styleURI: String)

Removes a style package.Removes a style package from the existing packages list. The actual resourceseviction might be deferred as the implementation can first put the resources to the disk cache.Call `MapboxMap#clearData()` API to make sure all the temporary data is physically removedfrom the disk cache.All pending loading operations for the style package with the given id willfail with `Canceled` error.

Parameters

styleURI

The URI of the style package's associated style